package com.ysh.spring.staticproxy;


/**
 * Created by Jackiechan on 2022/8/26 11:28
 *
 * @author Jackiechan
 * @version 1.0
 * @since 1.0
 */
public class ZJ2 implements ChuzuAble{

    private ChuzuAble chuzuAble;

    public void setChuzuAble(ChuzuAble chuzuAble) {
        this.chuzuAble = chuzuAble;
    }

    @Override
    public void chuzu() {
        //实际上是调用房东的出租
        System.err.println("ZJ222中的方法chuzu 执行了--->");
        chuzuAble.chuzu();
    }

}
